<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>输出图片</title>
    <script src="./Vue.js"></script>
</head>
<body>
<div id="box">
    <img v-bind:src="url">
</div>
<script type="text/javascript">
    var demo = new Vue({
        el : '#box',
        data : {
            url : 'h.jpg'
        }
    });
</script>
</body>
</html>